%%%-------------------------------------------------------------------
%%% @author 92913
%%% @copyright (C) 2024, <COMPANY>
%%% @doc
%%%
%%% @end
%%% Created : 20. 7月 2024 11:31
%%%-------------------------------------------------------------------
-module(iftest).
-author("92913").

%% API
-export([start/2]).

start(A, B) ->
  io:setopts([{encoding, utf8}]),
  if
    A == 1 -> io:format("A == 1 ~n");
    B == 2 -> io:format("B == 2 ~n");
    A == 3, B == 4 -> io:format("A == 3, B == 4 ~n");
    true -> io:format("没有匹配 ~n")
  end.